package com.yh.patterns.proxy.static_proxy;

/**
 * @Auther:云尚学Java
 * 代售点类
 */
public class ProxyPoint implements SellTickets{
    //声明火车站类对象
    private TrainStation trainStation=new TrainStation();

    @Override
    public void sell() {
        System.out.println("代售点收取一些服务费用！");
        trainStation.sell();
    }
}
